﻿﻿<template>
    <el-card class="form-container">
        <el-form :model="orderPaySerialDetail"   label-width="100px">
                            <el-form-item label="" prop="id">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="支付类型 1.支付宝 2.微信 3.银联 4.钱包 5.混合" prop="payType">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="订单编号" prop="orderCode">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="订单总额" prop="orderPrice">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="实际支付金额" prop="payPrice">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="订单类型 " prop="orderType">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="支付详情:存储第三方支付渠道返回数据信息" prop="payDetail">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="支付回调订单号:冗余字段" prop="returnPayNo">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="支付记录状态1.待支付 2.支付中 3.支付成功 4.订单作废" prop="serialStatus">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="创建时间" prop="createTime">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                            <el-form-item label="修改时间" prop="updateTime">
                    <el-input v-model="userDetail.userNickName"  disabled="disabled"></el-input>
                </el-form-item>
                        <el-form-item>
                <el-button @click="close">关闭</el-button>
            </el-form-item>
        </el-form>
    </el-card>
</template>

<script>
    import { findOrderPaySerialDetail } from '@/api/admin/orderPaySerial'
    export default{
        name: 'view-orderPaySerial',
        data(){
            return {
                orderPaySerialDetail: {}
            }
        },
        created() {
            this.view(this.$route.query.id)
        },
        methods:{
            view(val){
                findOrderPaySerialDetail(val).then(res => {
                    console.log('查询返回结果',res)
                this.userDetail = res.data.responseData
            })
            },
            close(){
                this.$router.go(-1)
            }
        }
    }
</script>

<style>
</style>
